# AES Outbound Message Sniffer

# Continuously watch for /usr/local/aes/data/00000111.txt and /usr/local/aes/data/00000110.txt for outbound packets

import sys
import string

while 1:
    try:
        f = open('/usr/local/aes/data/00000111.Pkt',  'r')
        #f = open('/home/user/testdata.txt',  'r')
        lst = f.readlines()
        f.close()
        if len(lst) > 0:
            for x in lst:
                print x
            break
    except IOError:
        print "IO Error:", sys.exc_info()[1]

# PP080024011000000002040204000000A1000000F7BE

